package com.atguigu.gmall.product.service;

import com.atguigu.gmall.product.entity.SkuInfo;
import com.atguigu.gmall.product.vo.SkuInfoVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author weiranyi
* @description 针对表【sku_info(库存单元表)】的数据库操作Service
* @createDate 2022-11-29 16:41:28
*/
public interface SkuInfoService extends IService<SkuInfo> {


    Page<SkuInfo> getSkuList(long pn, long ps);

    void saveSkuInfo(SkuInfoVo skuInfoVo);

    void onSale(Long skuId);

    void cancelSale(Long skuId);
}
